package com.cuikaipeng.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cuikaipeng.dao.CompanyDao;
import com.cuikaipeng.entity.Company;
import com.cuikaipeng.entity.Tctype;
import com.cuikaipeng.service.CompanyService;
@Service
public class CompanyServiceimpl implements CompanyService{
	@Autowired
	private CompanyDao dao;
	@Override
	public List<Company> list(Company company) {
		// TODO Auto-generated method stub
		return dao.list(company);
	}
	@Override
	public List<Company> getc(String id) {
		// TODO Auto-generated method stub
		return dao.getc(id);
	}
	@Override
	public List<Tctype> gett(String id) {
		// TODO Auto-generated method stub
		return dao.gett(id);
	}
	@Override
	public Company getcc(String id) {
		// TODO Auto-generated method stub
		return dao.getcc(id);
	}
	@Override
	public void add(Tctype t) {
		dao.add(t);
		
	}
	@Override
	public Object del(Integer id) {
		// TODO Auto-generated method stub
		return dao.del(id);
	}


}
